LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := TTF

LOCAL_SRC_FILES := ../../TTF/SDL_ttf.c

ifeq ($(PM5_CONFIG),debug)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../TTF/external/freetype/include $(LOCAL_PATH)/../../TTF/external/freetype/include/freetype $(LOCAL_PATH)/../../SDL2/include
  LOCAL_CFLAGS := -DDEBUG
  include $(BUILD_STATIC_LIBRARY)
endif

ifeq ($(PM5_CONFIG),release)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../TTF/external/freetype/include $(LOCAL_PATH)/../../TTF/external/freetype/include/freetype $(LOCAL_PATH)/../../SDL2/include
  LOCAL_CFLAGS := -DNDEBUG
  include $(BUILD_STATIC_LIBRARY)
endif